package com.bestcem.xm.qdes.mq.dto;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.util.List;

@Getter
@Setter
@Accessors(chain = true)
@NoArgsConstructor
public class ProjectPermissionChangedDto {
    private Boolean create;

    /**
     * 添加权限
     */
    private List<Integer> add;

    /**
     * 是否删除
     */
    private List<Integer> del;

    /**
     * 动作
     */
    private String action;

    @JsonProperty("org_id")
    private String orgId;
    @JsonProperty("user_id")
    private String userId;
}